package com.example.demo.service;

import com.example.demo.common.entity.ParamBase;
import com.example.demo.common.entity.ParamPage;
import com.example.demo.common.util.ListResult;
import com.example.demo.common.util.OptResult;

import java.util.Map;

public interface DictionaryService {
	ListResult<Map<String, Object>> page(ParamPage<Map<String, Object>> paramPage);

    OptResult save(ParamBase<Map<String, Object>> paramBase, String token);
    
   OptResult delete(ParamBase<Map<String, Object>> paramBase, String token);
    
   ListResult<Map<String, Object>> typePage(ParamPage<Map<String, Object>> paramPage);

}
